<?php
$items[] = array(
  'path' => 'paypal/ipn', 
  'title' => t('PayPal IPN'),
  'callback' => 'paypal_ipn', 
  'access' => true, 
  'type' => MENU_CALLBACK
);

$items[] = array(
  'path' => 'admin/ecsettings/paypal',
  'title' => 'PayPal',
  'callback' => 'drupal_get_form',
  'callback arguments' => 'paypal_ec_settings',
  'access' => user_access('administer store'),
  'type' => MENU_NORMAL_ITEM,
  'description' => t('Configuration for the PayPal payment gateway'),
);

